package com.iptv.grape.bu.imp;


import android.view.KeyEvent;

import com.iptv.grape.BaseActivity;
import com.iptv.grape.bu.AppState;
import com.iptv.grape.bu.GrapeContext;
import com.iptv.grape.bu.IKeyEventPorc;
import com.iptv.grape.domain.Channel;
import com.iptv.grape.event.EventArgs;
import com.iptv.grape.event.data.LiveData;
import com.iptv.grape.util.AppConstant;
import com.iptv.grape.util.AppLog;
import com.iptv.grape.video.XMediaPlayer;

import org.greenrobot.eventbus.EventBus;

@AppState(isShowLiveMenu = false,curPlayType = "Live",curLiveType = "Time", isTimeLiveUI = true, keyVals = {4})
public class QuitTimeLiveMode2 implements IKeyEventPorc {
    @Override
    public void onKeyDownEvent(BaseActivity context, XMediaPlayer mediaPlayer, GrapeContext grapeContext, KeyEvent event) {
        //QuitTimeLiveMode.quit(context,mediaPlayer,grapeContext,event);
        grapeContext.hideTimeLiveFragment(context);

    }
}
